* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.header {
    background: #2c3e50;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header h1 {
    margin: 0;
    font-size: 1.5rem;
}

.user-info {
    color: white;
    font-size: 0.9rem;
}

.user-info a {
    color: #3498db;
    text-decoration: none;
    margin-left: 10px;
}

.user-info a:hover {
    text-decoration: underline;
}

.menu {
    background: #34495e;
    padding: 0.8rem;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

.menu a {
    color: white;
    text-decoration: none;
    margin-right: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.menu a:hover {
    background: #2c3e50;
}

.content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: calc(100vh - 140px);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

button {
    background: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 0.5rem;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background: #2980b9;
}

.btn-cancel {
    background: #95a5a6;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    color: white;
}

.btn-cancel:hover {
    background: #7f8c8d;
}

.error {
    color: #e74c3c;
    margin-top: 1rem;
    padding: 0.8rem;
    background: #fdf2f2;
    border: 1px solid #e74c3c;
    border-radius: 4px;
    text-align: center;
}

.test-account {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 0.9rem;
}

.test-account p {
    margin: 0.3rem 0;
    color: #6c757d;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

table th {
    background: #34495e;
    color: white;
    font-weight: 600;
}

table tr:hover {
    background: #f8f9fa;
}

table a {
    color: #3498db;
    text-decoration: none;
    margin-right: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    transition: background-color 0.3s;
}

table a:hover {
    background: #ebf5fb;
    text-decoration: none;
}

table a:last-child {
    color: #e74c3c;
}

table a:last-child:hover {
    background: #fdf2f2;
}

.content h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ecf0f1;
}

.no-data {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    margin: 2rem 0;
}